package recite.word.client.service;

import recite.word.client.dto.login.*;
import recite.word.client.vo.login.LoginVO;
import recite.word.client.vo.login.LoginVerifyPhoneVO;
import recite.word.service.base.common.request.BaseRequest;

/**
 * @program: recite-word-back
 * @description:
 * @author: Mr.lin
 * @create: 2023-01-27 14:31
 **/

public interface ILoginService {
	LoginVerifyPhoneVO verifyPhone(BaseRequest<LoginVerifyPhoneDTO> dto);

	void sendCode(BaseRequest<LoginSendCodeDTO> dto);

	void register(BaseRequest<LoginRegisterDTO> dto);

	LoginVO login(BaseRequest<LoginDTO> dto);

	void forgot(BaseRequest<LoginForgotDTO> dto);
}
